package com.app.core.presenter;

import com.app.core.config.Constants;
import com.app.core.config.HttpApi;
import com.yanzhenjie.httpmodule.http.StringRequest;
import com.yanzhenjie.nohttp.RequestMethod;

public class ParamUtils {

    private static final String TAG="ParamUtils";

    public static StringRequest getUserParam(String username,String password){
        StringRequest request =new StringRequest(Constants.HTTP_URL + HttpApi.LOGIN, RequestMethod.POST);
        request.add("username", username);
        request.add("password", password);
        return request;
    }

}
